#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QThread>
#include <QFile>
#include <QTcpSocket>
#include <QHostAddress>
class mythread : public QThread
{
    Q_OBJECT
public:
    explicit mythread(QObject *parent = 0);
    ~mythread();

    void run();
signals:
signals:
    void valueSignal(int);
public slots:
private slots:
    void addressValueSlot(QString);
private:
    QTcpSocket *fileClient;
    QString m_senderIp;
};

#endif // MYTHREAD_H
